﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using easysql;
namespace Dal
{
    public class ConfigDal:BaseDal<ConfigModel>
    {
        public ConfigDal() : base("tb_config") { }

        public string queryValue(string name)
        {
            var list = dh.Query<ConfigModel>("tb_config",null, Restrain.Eq("name", name)).FirstOrDefault();
          
            return list.value;
        }

    }
}
